package org.jeecg.modules.fk.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;
import org.jeecg.modules.fk.entity.FactorPool;

import java.util.List;



/**
 * @Description: factor_pool
 * @Author: ZJJ
 * @Date:   2021-04-30
 * @Version: V1.0
 */
public interface FactorPoolMapper extends BaseMapper<FactorPool> {


    @Select("select source from factor_pool where divisor_type = #{type}")
    public List<String> getFactorSourceList(Integer type);

    @Select("select divisor_name from factor_pool")
    public List<String> getFactorNameList();

    List<FactorPool> queryPageList(FactorPool factorPool);
}
